.Net Framework > v2.0.50727 > System > Web > Mail > MailAttachment > MailAttachment MailAttachment(String)
MailAttachment(String,MailEncoding)


MailAttachment(String)

Category
Constructor
Description
Initializes a new instance of the System.Web.Mail.MailAttachment class with the specified file name for the attachment. Sets the System.Text.Encoding property to System.Web.Mail.MailEncoding.UUEncode by default. Recommended alternative: System.Net.Mail.
Type
void
Character
public
Parameters
NameTypeDescription
filenameString
Tags
0104BC7FDA, 02E3ABA98D, 0376596F91

MailAttachment(String,MailEncoding)

Category
Constructor
Description
Initializes a new instance of the System.Web.Mail.MailAttachment class with the specified file name and encoding type for the attachment. Recommended alternative: System.Net.Mail.
Type
void
Character
public
Parameters
NameTypeDescription
filenameString
encodingMailEncoding
Tags
0104BC7FDA, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database